package com.xiaoshuidi.cloud.module.finance.controller.admin.invoice.vo;

import com.xiaoshuidi.cloud.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
public class FinanceInvoiceRecordPageReqVO extends PageParam {
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
    @Schema(description = "开票日期开始/结束")
    private LocalDate[] createDate;
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
    @Schema(description = "申请日期开始/结束")
    private LocalDate[] createTime;
    @Schema(description = "发票类型")
    private String invoiceType;
    @Schema(description = "开票状态 PENDING(\"待审核\"), WAITING(\"开票中\")," +
            "SUCCESS(\"已开票\")," +
            "FAILURE(\"开票失败\")")
    private String status;
    @Schema(description = "开票主体税号id(对应开票主体企业)")
    private Integer invoiceConfigId;
    @Schema(description = "输入")
    private String keyword;
}
